package com.aric.springbootmusic.entity.param;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddRoleParam {
    @NotBlank(message = "角色名称不能为空")
    private String roleName;
    @NotBlank(message = "角色描述不能为空")
    private String roleDesc;
}
